package com.sugar.real.estate.module.business.controller.admin.dicttype.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - 字典类型新增/修改 Request VO")
@Data
public class BizDictTypeSaveReqVO {

    @Schema(description = "字典ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "22482")
    private Long id;

    @Schema(description = "字典标签", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "字典标签不能为空")
    private String label;

}